package com.platform.framework.web.service;

import com.platform.common.utils.rabbit.RabbitUtils;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import javax.annotation.PostConstruct;

@Service("weather")
@Slf4j
public class WeatherService {

    @Autowired
    private RabbitUtils rabbitUtils;

    /**
     * 获取天气参数
     */
    @PostConstruct
    public void init() {
        //rabbitUtils.weiteToWeather();
    }

    /**
     * 获取天气参数
     */
    public void getWeather() {
        //rabbitUtils.weiteToWeather();
    }
}
